how to create a table in javascript